<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="#{$smarty.const.ACT}#/CstService/cst_service_show/" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td> 客户名称：
						<input type="text" name="cus_name" /></td>
					<td><select class="combox" name="searchKeyword">
							<option value="content">服务内容</option>
							<option value="postion">开始时间</option>
							<option value="tlen">花费时间</option>
						</select></td>
					<td><input type="text" name="searchValue" /></td>
					<td>#{$statusselect}#</td>
					<td><ul>
							<li>
								<div class="buttonActive">
									<div class="buttonContent">
										<button type="submit">检索</button>
									</div>
								</div>
							</li>
						</ul></td>
				</tr>
			</table>
			<div class="subBar"></div>
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="#{$smarty.const.ACT}#/CstService/cst_service_add/cusID/#{$cusID}#/" rel="cst_service_add"  target="dialog" width="850" height="450"  title="客户服务添加"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="#{$smarty.const.ACT}#/CstService/cst_service_del/" postType="string" title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" ><span>删除</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="#{$smarty.const.ACT}#/CstService/cst_service_modify/id/{sid_user}/" rel="cst_service_modify" target="dialog" width="850" height="450"  title="客户服务修改"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="100">服务类型</th>
				<th width="100">方式</th>
				<th width="200">客户名称</th>
				<th width="120">联系人</th>
				<th width="120">服务时间</th>
				<th width="80">花费时间(分)</th>
				<th width="100">状态</th>
				<th width="120">录入时间</th>
			</tr>
		</thead>
		<tbody>
		
		#{foreach from=$list key=k item=v}#
		<tr target="sid_user" rel="#{$v.id}#">
			<td><input name="ids" value="#{$v.id}#" type="checkbox"></td>
			<td>#{$dict[$v.services]}#</td>
			<td>#{$dict[$v.servicesmodel]}#</td>
			<td><a target="dialog"  href="#{$smarty.const.ACT}#/Customer/customer_show_one/cusID/#{$v.cusID}#/" rel="customer_show_one_#{$v.id}#" title="#{$v.cst_name}#" width="880" height="480">#{$v.cst_name}#</a></td>
			<td>#{$linkman[$v.linkmanID]}#</td>
			<td>#{$v.adt}#</td>
			<td>#{$v.tlen}#</td>
			<td>#{$status[$v.status]}#</td>
			<td>#{$v.adt}#</td>
		</tr>
		#{/foreach}#
			</tbody>
		
	</table>
	<div class="panelBar">
		<form id="pagerForm" method="post" action="#{$smarty.const.ACT}#/CstService/cst_service_show/">
			<input type="hidden" name="pageNum" value="1" />
			<input type="hidden" name="numPerPage" value="#{$numPerPage}#" />
			<input type="hidden" name="orderField" value="${param.orderField}"/>
			<input type="hidden" name="orderDirection" value="${param.orderDirection}"/>
		</form>
		<div class="pages"> <span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" #{if $numPerPage eq '20'}# selected="selected" #{/if}#>20</option>
				<option value="50" #{if $numPerPage eq '50'}# selected="selected" #{/if}#>50</option>
				<option value="100" #{if $numPerPage eq '100'}# selected="selected" #{/if}#>100</option>
				<option value="200" #{if $numPerPage eq '200'}# selected="selected" #{/if}#>200</option>
				<option value="500" #{if $numPerPage eq '500'}# selected="selected" #{/if}#>500</option>
			</select>
			<span>条，共#{$totalCount}#条</span> </div>
		<div class="pagination" targetType="navTab" totalCount="#{$totalCount}#" numPerPage="#{$numPerPage}#" pageNumShown="10" currentPage="#{$currentPage}#"></div>
	</div>
</div>
